import QtQuick 2.0

Item {
    width: 80
    height: 80
    transformOrigin: Item.Bottom
    x: 160
    y: 0
    property alias utext: unittext.text
    property alias ucolor: roundrect.color
    Rectangle {
        id: roundrect
        width: parent.width
        height: width
        radius: width/2
        x: 0
        y: 0
        Text {
            id: unittext
            anchors.centerIn: parent
            color: 'white'
            font.pixelSize: 15
            lineHeight: 1.2
            font.letterSpacing: 2
        }
    }
}
